/*
 * @Author: zhang_wenjuan
 * @Date: 2021-05-18 15:43:25
 * @LastEditTime: 2021-08-19 14:26:51
 * @Description: 缺陷模块路由
 */
const DefectList =  reslove => require([ "../pages/defect/DefectList"],reslove)
const DefectDetail =  reslove => require([ "../pages/defect/DefectDetail"],reslove)
const AddDefect =  reslove => require([ "../pages/defect/AddDefect"],reslove)

const newAddDefect =  reslove => require([ "../view/defect/newAddDefect"],reslove)
const newDefectDetail =  reslove => require([ "../view/defect/newDefectDetail"],reslove)
const newDefectList =  reslove => require([ "../view/defect/newDefectList"],reslove)

export default [{
    path: '/DefectList',
    name: 'DefectList',
    component:DefectList,
    meta: {
        title: '缺陷列表',
        keepAlive: false,
    }
},{
    path: '/DefectDetail',
    name: 'DefectDetail',
    component:DefectDetail,
    meta: {
        title: '缺陷详情',
        keepAlive: false,
    }
},{
    path: '/AddDefect',
    name: 'AddDefect',
    component:AddDefect,
    meta: {
        title: '添加缺陷',
        keepAlive: false,
    }
},
{
    path: '/newAddDefect',
    name: 'newAddDefect',
    component:newAddDefect,
    meta: {
        title: '添加缺陷',
        keepAlive: false,
    }
},
{
    path: '/newDefectDetail',
    name: 'newDefectDetail',
    component:newDefectDetail,
    meta: {
        title: '添加缺陷',
        keepAlive: false,
    }
},
{
    path: '/newDefectList',
    name: 'newDefectList',
    component:newDefectList,
    meta: {
        title: '缺陷列表',
        keepAlive: false,
    }
}
]
